using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class MdMachineEntity : EntityBase
{
public MdMachineTable TableSchema
{
get
{
return (MdMachineTable)_tableSchema;
}}

public MdMachineEntity()
{
_tableSchema = MdMachineTable.Current;
}

#region 属性列表

public String MachineID
{
get { return Convert.ToString(GetData(MdMachineTable.C_MACHINEID)); }
set { SetData(MdMachineTable.C_MACHINEID, value); }
}

public String MachineName
{
get { return Convert.ToString(GetData(MdMachineTable.C_MACHINENAME)); }
set { SetData(MdMachineTable.C_MACHINENAME, value); }
}

public String MachineType
{
get { return Convert.ToString(GetData(MdMachineTable.C_MACHINETYPE)); }
set { SetData(MdMachineTable.C_MACHINETYPE, value); }
}

public Decimal? StandardTime
{
get { return Convert.ToDecimal(GetData(MdMachineTable.C_STANDARDTIME)); }
set { SetData(MdMachineTable.C_STANDARDTIME, value); }
}

public String Status
{
get { return Convert.ToString(GetData(MdMachineTable.C_STATUS)); }
set { SetData(MdMachineTable.C_STATUS, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(MdMachineTable.C_CREATEDATE)); }
set { SetData(MdMachineTable.C_CREATEDATE, value); }
}

public String ModifyUserName
{
get { return Convert.ToString(GetData(MdMachineTable.C_MODIFYUSERNAME)); }
set { SetData(MdMachineTable.C_MODIFYUSERNAME, value); }
}

public String CreateUserID
{
get { return Convert.ToString(GetData(MdMachineTable.C_CREATEUSERID)); }
set { SetData(MdMachineTable.C_CREATEUSERID, value); }
}

public String CreateUserName
{
get { return Convert.ToString(GetData(MdMachineTable.C_CREATEUSERNAME)); }
set { SetData(MdMachineTable.C_CREATEUSERNAME, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(MdMachineTable.C_MODIFYDATE)); }
set { SetData(MdMachineTable.C_MODIFYDATE, value); }
}

public String ModifyUserID
{
get { return Convert.ToString(GetData(MdMachineTable.C_MODIFYUSERID)); }
set { SetData(MdMachineTable.C_MODIFYUSERID, value); }
}

#endregion
}
}